/*
 ============================================================================
 Name		: AutoTesterDocument.cpp
 Author	  : 
 Copyright   : Your copyright notice
 Description : CAutoTesterDocument implementation
 ============================================================================
 */

// INCLUDE FILES
#include "AutoTesterAppUi.h"
#include "AutoTesterDocument.h"

// ============================ MEMBER FUNCTIONS ===============================

// -----------------------------------------------------------------------------
// CAutoTesterDocument::NewL()
// Two-phased constructor.
// -----------------------------------------------------------------------------
//
CAutoTesterDocument* CAutoTesterDocument::NewL(CEikApplication& aApp)
{
	CAutoTesterDocument* self = NewLC(aApp);
	CleanupStack::Pop(self);
	return self;
}

// -----------------------------------------------------------------------------
// CAutoTesterDocument::NewLC()
// Two-phased constructor.
// -----------------------------------------------------------------------------
//
CAutoTesterDocument* CAutoTesterDocument::NewLC(CEikApplication& aApp)
{
	CAutoTesterDocument* self = new ( ELeave ) CAutoTesterDocument( aApp );

	CleanupStack::PushL(self);
	self->ConstructL();
	return self;
}

// -----------------------------------------------------------------------------
// CAutoTesterDocument::ConstructL()
// Symbian 2nd phase constructor can leave.
// -----------------------------------------------------------------------------
//
void CAutoTesterDocument::ConstructL()
{
	// No implementation required
}

// -----------------------------------------------------------------------------
// CAutoTesterDocument::CAutoTesterDocument()
// C++ default constructor can NOT contain any code, that might leave.
// -----------------------------------------------------------------------------
//
CAutoTesterDocument::CAutoTesterDocument(CEikApplication& aApp) :
	CAknDocument(aApp)
{
	// No implementation required
}

// ---------------------------------------------------------------------------
// CAutoTesterDocument::~CAutoTesterDocument()
// Destructor.
// ---------------------------------------------------------------------------
//
CAutoTesterDocument::~CAutoTesterDocument()
{
	// No implementation required
}

// ---------------------------------------------------------------------------
// CAutoTesterDocument::CreateAppUiL()
// Constructs CreateAppUi.
// ---------------------------------------------------------------------------
//
CEikAppUi* CAutoTesterDocument::CreateAppUiL()
{
	// Create the application user interface, and return a pointer to it;
	// the framework takes ownership of this object
	return new ( ELeave )CAutoTesterAppUi;
}

// End of File
